<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
</head>
<body>
<div id="app">
    <el-card class="box-card">
      <h1 align="center">标题标签</h1>
    </el-card>
    <el-row>
        <el-col :span="8">
            <el-card><h3>刘德华</h3></el-card>
        </el-col>
        <el-col :span="8">
            <el-card><h3>张学友</h3></el-card>
        </el-col>
        <el-col :span="8">
            <el-card><h3>郭富城</h3></el-card>
        </el-col>
    </el-row>

    <el-row>
        <el-col :span="4" v-for="(x,i) in 3" :offset="i>0?1:0">
            <el-card>
                <h1>这是1/6 x={{x}} i={{i}}</h1>
            </el-card>
        </el-col>
    </el-row>

    <h1>带图片的卡片</h1>
    <el-row>
        <el-col :span="8" v-for="(o, index) in 2" :key="o" :offset="index > 0 ? 2 : 0">
            <el-card :body-style="{ padding: '0px' }">
                <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image">
                <div style="padding: 14px;">
                    <span>好吃的汉堡</span>
                    <div class="bottom clearfix">
                        <time class="time">2022-6-2</time>
                        <el-button type="text" class="button">操作按钮</el-button>
                    </div>
                </div>
            </el-card>
        </el-col>
    </el-row>


</div>
</body>
<!-- import Vue before Element -->
<script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<script>
    let v=new Vue({
        el: '#app',
        data: function() {
            return {}
        }
    })


</script>
</html>


